package com.dzl.util.wx.third;

import lombok.extern.slf4j.Slf4j;

/**
 * 功能描述：微信服务商接口地址常量
 * @Author: liuguanjun
 * @Date: 2022/01/15 17:27
 */
@Slf4j
public class WeixinImSetting {


    //微信开放平台_第三方平台授权流程_令牌
    public static String OPEN_URL_COMPONENTTOKEN = "https://api.weixin.qq.com/cgi-bin/component/api_component_token";
    //微信开放平台_第三方平台授权流程_预授权码
    public static String OPEN_URL_PREAUTHCODE = "https://api.weixin.qq.com/cgi-bin/component/api_create_preauthcode?component_access_token=COMPONENT_ACCESS_TOKEN";
    //微信开放平台_第三方平台授权流程_令牌
    public static String OPEN_URL_AUTHORIZERACCESSTOKEN = "https://api.weixin.qq.com/cgi-bin/component/api_query_auth?component_access_token=COMPONENT_ACCESS_TOKEN" ;
    //微信开放平台_第三方平台授权流程_接口调用令牌
    public static String OPEN_URL_AUTHORIZERTOKEN = "https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=COMPONENT_ACCESS_TOKEN";
    //微信开放平台_第三方平台授权流程_令牌
    public static String OPEN_URL_AUTHPAGE = "https://mp.weixin.qq.com/cgi-bin/componentloginpage";

    //上传小程序代码并生成体验版
    public static String WXA_COMMIT = "https://api.weixin.qq.com/wxa/commit?access_token=ACCESS_TOKEN";
    //上传小程序代码并生成体验版
    public static String WXA_GET_TEMPLATE_LIST = "https://api.weixin.qq.com/wxa/gettemplatelist?access_token=ACCESS_TOKEN";

}
